package com.lay.service.impl;

import com.lay.entity.InsurPack;
import com.lay.dao.InsurPackMapper;
import com.lay.service.InsurPackService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 保险套餐 服务实现类
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
@Service
public class InsurPackServiceImpl extends ServiceImpl<InsurPackMapper, InsurPack> implements InsurPackService {
    @Autowired
    private  InsurPackMapper insurPackMapper;
    @Override
    public List<InsurPack> getAll() {
        List<InsurPack> list = insurPackMapper.queryall();
        return list;
    }
}
